#ifndef LIS2DH_H
#define LIS2DH_H

#include "I2C_LIS.h"

//#define LIS2DH_CTRL_REG0      0x1E   //濞岋繝鏁撻弬銈嗗闁跨喐鏋婚幏鐑芥晸閿燂拷
#define LIS2DH_CTRL_TEMP      0x1F   
#define LIS2DH_CTRL_REG1      0x20   //闁跨喐鏋婚幏鐑芥晸閻欌€崇槑鏉堢偓瀚归柨鐔告灮閹凤拷1闁跨喐鏋婚幏宄版絻
#define LIS2DH_CTRL_REG4      0x23   //闁跨喐鏋婚幏鐑芥晸閻欌€崇槑鏉堢偓瀚归柨鐔告灮閹凤拷4闁跨喐鏋婚幏宄版絻
#define LIS2DH_CTRL_REG5      0x24   //闁跨喐鏋婚幏鐑芥晸閻欌€崇槑鏉堢偓瀚归柨鐔告灮閹凤拷4闁跨喐鏋婚幏宄版絻

#define LIS2DH_WHO_AM_I       0x0F   //WHO_AM_I闁跨喐鏋婚幏宄版絻

#define LIS2DH_XOUT_L         0x28
#define LIS2DH_XOUT_H         0x29
#define LIS2DH_YOUT_L         0x2A
#define LIS2DH_YOUT_H         0x2B
#define LIS2DH_ZOUT_L         0x2C
#define LIS2DH_ZOUT_H         0x2D

INT8U LIS2DH_Init(void);		//闁跨喐鏋婚幏宄邦潗闁跨喐鏋婚幏锟�
void LIS2DH_GetAcc(INT8U *Buff);		//闁跨喐鏋婚幏鐑芥晸閺傘倖瀚归柨鐔告灮閹凤拷
    
#endif


